package com.lexian.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 订单
 * </p>
 *
 * @author testjava
 * @since 2021-01-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Orderform对象", description="订单")
public class Orderform implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单编号")
    @TableId(value = "order_id", type = IdType.AUTO)
    private Long orderId;

    @ApiModelProperty(value = "顾客编号")
    private Long cusId;

    @ApiModelProperty(value = "地址编号")
    private Long recaddrId;

    @ApiModelProperty(value = "支付方式编号")
    private Long paywayId;

    @ApiModelProperty(value = "订单编号")
    private String orderNum;

    @ApiModelProperty(value = "订单创建时间")
    private Date createTime;

    @ApiModelProperty(value = "订单状态")
    private Integer status;

    @ApiModelProperty(value = "订单商品费用")
    private Double amount;

    @ApiModelProperty(value = "订单物流费用")
    private Double logisticsFee;

    @ApiModelProperty(value = "订单物流数量")
    private String logisticsNum;

    @ApiModelProperty(value = "订单服务费用")
    private Double serviceFee;

    @ApiModelProperty(value = "订单支付时间")
    private Date payTime;


}
